package kr.co.redcircle.broker.io.net.multicast;

import kr.co.redcircle.broker.Broker;
import kr.co.redcircle.broker.io.BrokerRequest;



public class MulticastTestCase {

	public static void main(String args[]){
		
		BrokerRequest request0 = new BrokerRequest();
		request0.put(Broker.FROM, "node1");
		request0.put(Broker.TO, "master");
		request0.put(Broker.BUSINESS_S, "regist");
		request0.put(Broker.METHOD, "node");

		MulticastNetworkService.init("224.192.0.1", 9876, 16511);
		MulticastNetworkService.startListener();
		MulticastNetworkService.send(request0.toString());
		  
	}

}
